package com.coderman.common.starter.excelport.imports.service.converter;

import com.coderman.common.starter.excelport.export.bean.ConverterFieldBean;
import com.coderman.common.starter.excelport.export.bean.ExportFieldBean;
import com.coderman.common.starter.excelport.imports.service.ObjectConverter;

import java.util.List;
import java.util.Map;

/**
 * Description:
 * date: 2020/9/15 11:35 上午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface DemoObjectConverter extends ObjectConverter {
    /**
     * 进行批量转换
     * @param resultDataList 底层数据查询的返回结果
     * @param metaFieldMap   数据注解模型元数据
     * @param filterFieldBean   数据过滤上下文对象
     */
    void convertBatchFieldData(List resultDataList, Map<Integer, ExportFieldBean> metaFieldMap, ConverterFieldBean filterFieldBean) throws Exception;

}
